package cn.tedu.boyou.acticle.mapper;

import cn.tedu.boyou.acticle.domain.StrategyTag;
import cn.tedu.boyou.common.query.StrategyTagQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StrategyTagMapper {
    int deleteByPrimaryKey(Long id);

    int insert(StrategyTag record);

    StrategyTag selectByPrimaryKey(Long id);

    List<StrategyTag> selectAll();

    int updateByPrimaryKey(StrategyTag record);

    List<StrategyTag> selectForList(StrategyTagQuery qo);

    /**
     * @param id
     * @return
     */
    String selectTagsByDetailId(@Param("id") Long id);

    List<String> selectByDestId(Long id);
}